<?php

namespace App\Containers\AppSection\Moderation\Actions;

use App\Containers\AppSection\Moderation\Tasks\FindModerationByIdTask;
use App\Ship\Parents\Actions\Action;
use App\Ship\Parents\Requests\Request;

class GetModerationAction extends Action
{
    public function run($id, Request $request)
    {
        return app(FindModerationByIdTask::class)->addRequestCriteria()->run($id);
    }
}
